import java.lang.reflect.Array;

import javax.swing.JTable;


public class SeatState {
	//boolean state[][]; 
	private boolean NorthState[][] = new boolean[4][10];
	private boolean SouthState[][] =  new boolean[4][10];
	private boolean WestState[][] = new boolean[10][4];
	private boolean EastState[][] = new boolean[10][4];
	private boolean[][] state;
	
	
	public boolean[][] getState() {
		return state;
	}

	public void setState(JTable table) {
		int rowCount = table.getRowCount();
		int colCount = table.getColumnCount();
		
		this.state = new boolean[rowCount][colCount];
	}
	
	public boolean[][] getNorthState() {
		return NorthState;
	}

	public boolean[][] getSouthState() {
		return SouthState;
	}
	public boolean[][] getWestState() {
		return WestState;
	}
	public boolean[][] getEastState() {
		return EastState;
	}
	
	public void setNorthState(int i,int j) {
		this.NorthState[i][j] = true; 
	}
	public void setSouthState(int i,int j) {
		this.SouthState[i][j] = true; 
	}
	public void setWestState(int i,int j) {
		this.WestState[i][j] = true; 
	}
	
	public void setEastState(int i,int j) {
		this.EastState[i][j] = true; 
	}
	
}
